package com.zhang.dto;

import java.util.function.Supplier;

/**
 * @author zhangshuaiyin
 * @date 2021-04-13 14:54
 */
public class BaseController {

    protected <T> BaseResponse<T> convert(Supplier<BaseResponse<T>> supplier) {
        return supplier.get();
    }
}
